package com.yyc.hkpost.bean.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @Author nike
 * @Date 2023/7/28 10:22
 * @Description
 */
@Entity
open class AssetBean {

    @PrimaryKey(autoGenerate = true)//自增长
    var uid: Long = 0

    @ColumnInfo(name = "ids")
    var ids: String = ""

    @ColumnInfo(name = "orderNo")
    var OrderRoNo: String = ""

    @ColumnInfo(name = "assetNo")
    var AssetNo: String = ""

    @ColumnInfo(name = "libraryCallNo")
    var LibraryCallNo: String = ""

    @ColumnInfo(name = "archivesNo")
    var ArchivesNo: String = ""

    @ColumnInfo(name = "remarks")
    var Remarks: String = ""

    @ColumnInfo(name = "labelTag")
    var LabelTag: String = ""

    @ColumnInfo(name = "title")
    var Title: String = ""

    @ColumnInfo(name = "language")
    var Language: String = ""

    @ColumnInfo(name = "image_list")
    var imageList: String = ""

    @ColumnInfo(name = "location")
    var Location: String = ""

    @ColumnInfo(name = "foundStatus")
    var FoundStatus: Int = 0

    @ColumnInfo(name = "inventoryStatus")
    var InventoryStatus: Int = 0

    @ColumnInfo(name = "type")
    var type: Int = 0

    @ColumnInfo(name = "status")
    var status: Int = 0

    @ColumnInfo(name = "roNo")
    var RoNo: String = ""

    @ColumnInfo(name = "scanTime")
    var scanTime: String = ""

    @ColumnInfo(name = "scanStatus")
    var scanStatus: Int = 0

    @ColumnInfo(name = "companyId")
    var companyId: String = ""

    @ColumnInfo(name = "data")
    var data: String = ""

    @ColumnInfo(name = "AssetStatus")
    var AssetStatus: String = ""

    override fun toString(): String {
        return "AssetBean(uid=$uid, ids='$ids', OrderRoNo='$OrderRoNo', AssetNo='$AssetNo', LibraryCallNo='$LibraryCallNo', ArchivesNo='$ArchivesNo', Remarks='$Remarks', LabelTag='$LabelTag', Title='$Title', Language='$Language', imageList='$imageList', Location='$Location', FoundStatus=$FoundStatus, InventoryStatus=$InventoryStatus, type=$type, status=$status, RoNo='$RoNo', scanTime='$scanTime', scanStatus=$scanStatus, companyId='$companyId', data='$data', AssetStatus='$AssetStatus')"
    }

}